<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>xss测试</title>
    <script>
        function submit() {
            console.log("hhhhh")
        }
    </script>
</head>
<body>
<form >
    <label>
        请输入名字 :
        <input type="text" name="name" value=""/>
    </label>
    <input type="submit" value="提交"/>
</form>
</body>
</html>